package com.example.mapper;

import com.example.pojo.UserBean;
import org.springframework.data.domain.Example;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Optional;

@Repository
public interface UserMapper extends JpaRepository<UserBean, Integer> {
    @Override
    UserBean getOne(Integer integer);

    UserBean deleteUserBeansById(int id);
}
